Crate augmented_atomics
source · [−]Expand description
This crate is part of https://github.com/yamadapc/augmented-audio/. It exposes a couple of extra very limited atomic data types which are useful for this repository.
In particular, it exposes:
AtomicF32
AtomicF64
AtomicEnum
AtomicOption
In addition, an AtomicValue
trait is provided, which allows AtomicOption
to be available.
Structs
Given an enum value deriving
FromPrimitive
/ToPrimitive
, handles storing the value as an
atomic usize.Simple atomic floating point variable with relaxed ordering.
Simple atomic floating point variable with relaxed ordering.
Traits
Trait of values that can be loaded / stored with relaxed operations.